/****************************************************************
 * <strong>MFStaticDES静态加密类</strong>
 *
 * <p>
 * MFStaticDES静态加密类
 * </p>
 *
 * @author AndyZhang 2011
 * @version 0.1
 * ToDo:
 ***************************************************************/

package com.thinkwide.data.security;

public class MFStaticDES {

    public static String encryptString(String content, String password) throws Exception {
        MFDES des = new MFDES();
        return des.encryptString(content, password);
    }

    public static String encryptString(String content) throws Exception {
        MFDES des = new MFDES();
        return des.encryptString(content);
    }

    public static String encryptBase64(String content, String password) throws Exception {
        MFDES des = new MFDES();
        return des.encryptBase64(content, password);
    }

    public static String decryptString(String content, String password) throws Exception {
        MFDES des = new MFDES();
        return des.decryptString(content, password);
    }

    public static String decryptString(String content) throws Exception {
        MFDES des = new MFDES();
        return des.decryptString(content);
    }

    public static String decryptBase64(String content, String password) throws Exception {
        MFDES des = new MFDES();
        return des.decryptBase64(content, password);
    }
}
